package com.es.www.kyl.bean.req.web;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author Estranger
 * @date 2025/7/31
 * description
 */
@Data
public class UserUpdateReq implements Serializable {
	private static final long serialVersionUID = -8090392241901009690L;

	@ApiModelProperty(value = "用户ID")
	@NotNull(message = "用户ID不能为空")
	private Integer userId;

	@ApiModelProperty(value = "用户名")
	private String userName;

	@ApiModelProperty(value = "用户类型 0: 超管; 1: 普通用户；2: 会员")
	private String userRole;

	@ApiModelProperty(value = "权限类型 0: 无权限; 1: 题库权限；2: 全部权限")
	private String perType;
}
